package cn.tx.service;

import cn.tx.model.Admin;

import java.util.List;
import java.util.Map;

public interface AdminService {
    public int addAdmin(Admin admin);
    public List<Admin> findList(Map<String, Object> querymap);
    public List<Admin> findAll();
    public int delete(String ids);
    public int UpdateadminById(Admin  admin) ;
    public int findTotal(Map<String, Object> querymap);
    public Admin findByUserName(String name);
}

